import Vue from 'vue'
import Router from 'vue-router'
const Index = resolve => require(['../components/Index'], resolve)
const Result = resolve => require(['../components/Result'], resolve)
const End = resolve => require(['../components/End'], resolve) 



Vue.use(Router)

export default new Router({
  // mode:process.env.NODE_ENV === 'production' ? 'history' : 'hash',
  routes: [

    {path: '/',component: Index},
    {path: '/result',component: Result},
    {
      path:'/end',
      component:End
    }
  ]
})

